package com.drinkdelivery.common.domain;

import java.util.Date;
import java.util.Map;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.drinkdelivery.common.annotation.Excel;
import com.drinkdelivery.common.core.domain.BaseEntity;

/**
 * 商品品牌对象 product_brand
 *
 * @author lzh
 * @date 2024-11-04
 */
@Data
@ApiModel(description = "商品品牌实体类")
@TableName("product_brand")
public class ProductBrand
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 品牌名称 */
    @Excel(name = "品牌名称")
    private String brandName;
    /** 品牌所属分类 */
    @Excel(name = "品牌所属分类")
    private Long categoryId;
    /** 品牌Logo的url */
    @Excel(name = "品牌Logo的url")
    private String logoImage;
    /** 逻辑删除标记，0-未删除，1-已删除 */
    @Excel(name = "逻辑删除标记，0-未删除，1-已删除")
    private Integer isDeleted;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;
    /**
     * 搜索值
     */
    @TableField(exist = false)
    private String searchValue;

    @ApiModelProperty(value = "商户id")
    private  Integer merchantId;
}
